#ifndef __CUART_H
#define __CUART_H
#include "zf_common_headfile.h"

#define UART_RX_MAX  255
extern char buff[30];
extern int rx_cnt;
typedef struct
{
    uint16_t head;
    uint16_t tail;
    char buf[UART_RX_MAX];
}UART_S;

void Rx_buff(void);
int uart_put_buf(uint8_t ch);
#endif
